// 一维数组改变为二维数组
export const arrayVariableTwo = (arr, num) => {
    let newArr = []
    const total = Math.ceil(arr.length / num)
    for (let i = 0; i < total; i++) {
        let a = arr.slice(i * num, (i + 1) * num)
        newArr.push(a)
    }
    return newArr
}
